﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BW.WMS.Core.Models
{
    /// <summary>
    /// 共享模型基类
    /// </summary>
    public class BaseEntity
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 创建人名称
        /// </summary>
        public string CreateBy { get; set; } = string.Empty;
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }=DateTime.Now;
        /// <summary>
        /// 修改人名称
        /// </summary>
        public string UpdateBy { get; set; }=string.Empty;
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UpdateTime { get; set; }= DateTime.Now;
        /// <summary>
        /// 逻辑删除标识符
        /// </summary>
        public bool IsDeleted { get; set; }=false;
    }
}
